package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 赠送vip套餐
 * </p>
 *
 * @author chajiu
 * @since 2021-10-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ch_vip_gift_record")
@ApiModel(value="VipGiftRecord对象", description="赠送vip套餐")
public class VipGiftRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "vip名称")
    private String vipName;

    @ApiModelProperty(value = "vip天数")
    private Integer vipDays;

    @ApiModelProperty(value = "操作人")
    private String operator;

    @ApiModelProperty(value = "赠送状态 0未领取 1已领取 2已失效")
    private Integer status;

    @ApiModelProperty(value = "赠送时间")
    private Date createTime;

    @ApiModelProperty(value = "领取时间")
    private Date recvTime;


}
